<?php if(isset($menu['mnu_submenu'])){ ?>

list.leftNav = {
	xtype:'actionpanel',
	width:180,
	items:<?php echo $menu['mnu_submenu']?>
};

<?php }else{ ?>

list.leftNav = ZM.defaultLeftNav;

<?php } ?>